// import 'package:beacon/beacon.dart';

enum GTDatePickerMode {
  year, //年
  yearAndMonth, //年月
  date, //年月日
  dateHour, //年月日时
  dateHourMinute, //年月日时分
  dateHourMinuteSecond, //年月日时分秒
  monthDay, //月日
  monthDayHour, //月日时
  monthDayHourMinute, //月日时分
  monthDayHourMinuteSecond, //月日时分秒
  time, //时分
  timeAndSecond, //时分秒
  minuteAndSecond, //分秒
}

// @HostApi()
// abstract class GTCommonUiApi {
//   @async
//   int showActionSheet(String? title, String? message, List<String> actionTitles, int? selectedIndex);
//
//   void openPhotoBrowser(List<String> photoUrls, int index);
//
//   @async
//   String? pickImageFromCamera(bool allowsEditing);
//
//   @async
//   String? pickImageFromGallery(int maxCount, String? fileNamePrefix);
//
//   @async
//   String? pickVideoFromGallery(bool allowsEditing);
//
//   void cleanPickedImageCache();
//
//   @async
//   int? pickDate(
//     GTDatePickerMode mode,
//     String? pickerTitle,
//     String? confirmButtonTitle,
//     int? minimumDate,
//     int? maximumDate,
//     int? initialDate,
//   );
//
//   ///原生弹窗 中间输入框
//   ///确定按钮点击后 return输入的内容
//   @async
//   String? showInputDialog(
//       String? title, String? message, String? actionMainTitle, String? actionOtherTitle);
//
//   ///原生弹窗
//   ///return 确定返回0, 取消返回-1
//   @async
//   int? showDialog(
//       String? title, String? message, String? actionMainTitle, String? actionOtherTitle, bool isContentBold, bool showCloseIcon);
//
//   ///原生toast
//   ///level可能值:'info','warning','error','success'
//   void showToast(String? message, String? level);
// }
